LiteSpeed\Cloud D

Total Complexity 267
Dependencies 12
Dependents 17
Total lines 1,565
Lines of code 924
Logical lines of code 624
Comment lines 280
Methods 45
Properties 8

Methods 45

Method Rating Maintainability Complexity Lines of code
detect_cloud()
C
32 30 94
extract_msg()
C
32 28 94
_parse_response()
B
36 16 84
_maybe_cloud()
B
40 17 58
allowance()
B
45 18 40
_update_news()
A
50 13 26
parse_qc_redir()
A
46 11 38
gen_key()
A
45 9 40
_parse_rest_response()
A
48 8 33
handler()
A
50 8 30
is_from_cloud()
A
52 8 25
rest_err_domains()
A
54 8 18
_post()
S
49 7 28
check_dev_version()
S
54 7 20
_get()
S
50 6 28
save_apikey()
S
53 6 21
_is_err_domain()
S
59 5 15
ip_validate()
S
55 4 19
validate_hash()
S
59 4 14
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
version_check()
S
60 4 12
req_rest_api()
S
55 3 20
news()
S
64 4 10
_parse_link()
S
62 4 10
has_pkg()
S
69 3 6
_update_ips()
S
59 2 13
_link_to_qc()
S
61 2 12
show_promo()
S
71 2 6
_clear_promo()
S
67 2 8
can_token()
S
77 2 3
set_keygen_token()
S
66 2 8
_maybe_queue()
S
71 2 6
token_validate()
S
63 2 10
can_link_qc()
S
78 2 3
ok()
S
76 1 4
err()
S
78 1 3
post()
S
74 1 4
set_linked()
S
73 1 5
qc_link()
S
66 1 8
get()
S
75 1 4
_api_key()
S
80 1 3
_remove_domain_from_err_list()
S
76 1 4
_clean_api_key()
S
63 1 9
__construct()
S
76 1 4